package com.tsingteng.cosfun.ui.cosfun.imodel;

import com.tsingteng.cosfun.bean.BaseDataBean;
import com.tsingteng.cosfun.bean.HomeBean;
import com.tsingteng.cosfun.callback.RxObserver;
import com.tsingteng.cosfun.http.RxSchedulers;
import com.tsingteng.cosfun.mvp.module.BaseModel;

public class ZanModel extends BaseModel implements IZanModel {

    @Override
    public void getOpusZan(String workId, String c, String deviceId, String type, RxObserver<BaseDataBean<String>> callback) {
        doRxRequest().getOpusZan(workId, c, deviceId, type).compose(RxSchedulers.io_main()).subscribe(callback);

    }

    @Override
    public void getCommmZan(String workId, String c, String deviceId, String type, RxObserver<BaseDataBean<String>> callback) {
        doRxRequest().getCommZan(workId, c, deviceId, type).compose(RxSchedulers.io_main()).subscribe(callback);
    }

    ///
    @Override
    public void getLoseInterest(String workId, String c, String deviceId, String userId, String type, RxObserver<BaseDataBean<String>> callback) {
//        doRxRequest().getCommZan(workId, c, deviceId, type).compose(RxSchedulers.io_main()).subscribe(callback);

    }

}
